
<!--[if lt IE 7]>
<style>
  .tooltip {
    background-image:url(/media/img/tooltip/black_arrow.gif);
  }
</style>
<![endif]-->
<script type="text/javascript" src="<?php echo osc_current_web_theme_js_url('jquery.tooltip.min.js') ; ?>"></script>

<script>
  $(function() {      
      $("#menu_categories a[title]").tooltip({
          borderSize:'1',
          borderColor: '#BBBBBB',
          tooltipPadding: 6
      });
    });
</script>

<!-- header --> 
<div id="header" style="width:100%;color:#CBCFD3;">
        <div class="container">
            <div id="containerHead" class="row login_nav headerBk" >
		<div class="logo">
                <?php if( file_exists( WebThemes::newInstance()->getCurrentThemePath() . "images/logo.png" ) ) { ?>
                    <a href="<?php echo osc_base_url() ; ?>" style="float:left;">
                        <img src="<?php echo osc_current_web_theme_url('images/logo.png') ; ?>" alt="<?php echo osc_page_title() ; ?>" title="<?php echo osc_page_title() ; ?>" />
                    </a>
                <?php } else { ?>
                <div class="row">
                    <div class="span16 columns">
                        <h3><a href="<?php echo osc_base_url() ; ?>"><?php echo osc_page_title() ; ?></a></h3>
                    </div>
                </div>
                <?php } ?>
                   
		</div>
               
                <ul class="unstyled">
                    <li>
                    <?php if( osc_users_enabled() ) { ?>
                        <?php if( osc_is_web_user_logged_in() ) { ?>
                            <?php printf(__('Hi %s', 'twitter'), osc_logged_user_name() . '!'); ?>  &middot;
                            <a href="<?php echo osc_user_list_items_url() ; ?>"><?php _e('My account', 'twitter') ; ?></a> &middot;
                            <a href="<?php echo osc_user_logout_url() ; ?>"><?php _e('Logout', 'twitter') ; ?></a>
                        <?php } else { ?>
                            <a href="<?php echo osc_user_login_url() ; ?>"><?php _e('Login', 'twitter') ; ?></a> &middot;
                            <a href="<?php echo osc_register_account_url() ; ?>"><?php _e('Register', 'twitter') ; ?></a>
                        <?php } ?>
                    <?php } ?>
                    </li>
                    <?php if ( osc_count_web_enabled_locales() > 1) { ?>
                    <?php osc_goto_first_locale() ; ?>
                    <li class="languages">
                        &middot;
                        <a class="active" href="#" id="<?php echo osc_current_user_locale() ; ?>"><span id="lang_img"></span><?php /*_e('Language', 'twitter');*/ ?> <?php while ( osc_has_web_enabled_locales() ) { if( osc_locale_code() == osc_current_user_locale()) { ?><?php _e(osc_locale_field('s_short_name'), 'twitter');  ?><?php } } ?><span id="lang_arrow"></span></a>
                        <ul>
                        <?php $i = 0 ;  ?>
                        <?php osc_goto_first_locale() ; ?>
                        <?php while ( osc_has_web_enabled_locales() ) { ?>
                            <li <?php if($i == 0) { echo "class='first'"; } ?>><a id="<?php echo osc_locale_code() ; ?>" href="<?php echo osc_change_language_url ( osc_locale_code() ) ; ?>"><?php _e(osc_locale_field('s_short_name'), 'twitter'); ?></a></li>
                        <?php $i++ ; } ?>
                        </ul>
                    </li>
                     <?php } ?>
                </ul>  
                 <div id="rightbar">                     
                     <div style="float:right;">
                        <a class="rightbarLink" href="<?php echo osc_item_post_url();//osc_item_post_url_in_category() ; ?>">
                            <?php _e("Publish your vehicle for free", 'twitter'); ?>
                        </a>
                     </div>
                     <div style="float:right;margin:4px;margin-right:8px;">
                        <a href="<?php echo osc_base_url().'feed'; ?>" target='_blank'><img src="<?php echo osc_current_web_theme_url("images/social/rss.png"); ?>" width="32" /></a>
                     </div>
                </div>
                 
            </div>
               <?php osc_current_web_theme_path('v35extra/headermenu.php') ; ?>   
        </div>
</div>     

        <!-- header end -->
		<!-- loading -->
			<div id="curtain" style="display: hidden;"></div>
			<div id="clock" style="display: hidden; "></div>		